<template>
  <div class="news-banner">
    <div class="container">
      <div class="banner-content">
        <div class="banner-image">
          <div class="banner-placeholder">
            <h2>WORLD OF WARCRAFT</h2>
            <p>魔兽世界</p>
          </div>
          <div class="ad-label">广告</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
// 组件逻辑
</script>

<style scoped>
.news-banner {
  background: #f5f5f5;
  padding: 20px 0;
}

.banner-content {
  width: 100%;
}

.banner-image {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.banner-placeholder {
  text-align: center;
}

.banner-placeholder h2 {
  font-size: 32px;
  margin: 0 0 10px 0;
  font-weight: bold;
}

.banner-placeholder p {
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
}

.ad-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .banner-placeholder h2 {
    font-size: 24px;
  }
  
  .banner-placeholder p {
    font-size: 14px;
  }
  
  .banner-image {
    height: 150px;
  }
}
</style>

